ubuntu linux server/desktop + nfs
ubuntu linux server/desktop + nfs
Trying to configure nfs to work between linux ubuntu desktop and linux ubuntu server turned out to be quite hard..
nfs server side:
1. install nfs-common
sudo aptitude -P install nfs-kernel-server nfs-common portmap
-
add some directories to be exported
sudo vi /etc/exports /tempshare ip-add-client
where ip-add-client is the host that is allowed to access the nfs
-
add ip-add-client entries into hosts.allow
portmap: ip-add-client mountd: ip-add-client
sudo exportfs -a
- if it doesnt work later, restart the server
nfs client side:
- install nfs-common
sudo aptitude -P install nfs-kernel-server nfs-common portmap
sudo mount.nfs ip-add-server:/shared_dir mount_dir
Subscribe to Lydon's blog
Get the latest posts delivered right to your inbox